package com.xiaoq.manager.vo;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.xiaoq.manager.entity.MerchantFunEntity;
import com.xiaoq.manager.entity.MerchantRoleEntity;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModelProperty;

@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ManagerAdditionVo {
	
	@ApiModelProperty(value="id")
	private String id;
	
	@ApiModelProperty(value="手机号(账号)")
	private String mobile;
	
	@ApiModelProperty(value="管理员名称")
	private String name;
	
	@ApiModelProperty(value="联系方式")
	private String contact;
	
	@ApiModelProperty(value="管理员密码")
	private String passwd; 
	
	@ApiModelProperty(value="角色列表",hidden=true)
	private List<MerchantRoleEntity> mgrRoles; 
	
	@ApiModelProperty(value="功能列表",hidden=true)
	private List<MerchantFunEntity> menuList;
	
	@ApiModelProperty(value="角色Id")
	private String roleId; 
	
	

	public List<MerchantRoleEntity> getMgrRoles() {
		return mgrRoles;
	}

	public void setMgrRoles(List<MerchantRoleEntity> mgrRoles) {
		this.mgrRoles = mgrRoles;
	}

	public List<MerchantFunEntity> getMenuList() {
		return menuList;
	}

	public void setMenuList(List<MerchantFunEntity> menuList) {
		this.menuList = menuList;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}


}
